package com.lagou.edu.dao;

import com.lagou.edu.entity.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AuthCodeRepository extends JpaRepository<AuthCode, Long> {

    AuthCode findTopByEmailOrderByCreatetimeDesc(String email);
}
